def main() -> None:
    try:
        f = open("../abc.txt", "r", encoding="UTF-8")
    except Exception as e:
        print("file Not Found, become w", e)
        f = open("../abc.txt", "w", encoding="UTF-8")
    else:
        print("perfect")
    finally:
        f.close()


def m2():
    try:
        return 1
    finally:
        print("dd")


if __name__ == "__main__":
    # main()
    m2()
